
const state = {
    //echart配置
    echartOption: JSON.parse(sessionStorage.getItem('echartOption')) || {},
    legend: {
        chartTitle: '',
        fontSize: 15,
        color: '#000',
        fontFamily: '宋体'
    },
    fontFamily: [
        {
            label: 'Times New Roman',
            value: 'TIMES'
        },
        {
            label: 'Calibri',
            value: 'CALIBAR'
        },
        {
            label: 'Arial',
            value: 'ARIAL'
        },
        // {
        //     label: '楷体',
        //     value: 'SMIKAI'
        // },
        // {
        //     label: '宋体',
        //     value: 'SIMSUM'
        // },
        // {
        //     label: 'Comic Sans MS',
        //     value: 'COMIC'
        // },
        // {
        //     label: 'Courier New',
        //     value: 'COUR'
        // },
        // {
        //     label: 'Garamond',
        //     value: 'Garamond'
        // },
        // {
        //     label: 'Georgia',
        //     value: 'GEORGIA'
        // },
        // {
        //     label: 'Impact',
        //     value: 'IMPACT'
        // },
        // {
        //     label: 'Lucida Console',
        //     value: 'LUCON'
        // },
        // {
        //     label: 'Tahoma',
        //     value: 'TAHOMA'
        // },
        // {
        //     label: 'Verdana',
        //     value: 'VERDANA'
        // },
        // {
        //     label: '仿宋',
        //     value: 'SIMFANG'
        // },
        // {
        //     label: '黑体',
        //     value: 'SIMHEI'
        // },
        // {
        //     label: '华文仿宋',
        //     value: 'STFANGSO'
        // },
        // {
        //     label: '华文楷体',
        //     value: 'STKAITI'
        // },
        // {
        //     label: '华文宋体',
        //     value: 'STSONG'
        // },
    ],
    colorList: [
        {
            value: 'Science',
            label: 'Science',
            content: [
                '#3a4892', '#ed0000', '#008b45', '#631879', '#00817f', '#ba0020',
                '#5f549a', '#a10055', '#7f807f', '#a93b52', '#9f6d25', '#545a62',
                '#50557d', '#8a5c4e', '#9a3c5d', '#883a77', '#96546a', '#626489',
                '#7e4372', '#c85113', '#407354', '#5c3b7b', '#727285', '#cc2c31',
                '#6e7e35', '#5e3f6d', '#3a4892', '#ed0000', '#008b45', '#631879',
                '#00817f', '#ba0020', '#5f549a', '#a10055', '#7f807f', '#a93b52',
                '#9f6d25', '#545a62', '#50557d', '#8a5c4e', '#9a3c5d', '#883a77',
                '#96546a', '#626489', '#7e4372', '#c85113', '#407354', '#5c3b7b',
                '#727285', '#cc2c31',]
        },
        {
            value: 'NPG',
            label: 'NPG',
            content: [
                '#ee8172', '#83d0e2', '#4dbdab', '#7788ac', '#f7b9a6', '#a9b2cb',
                '#b2dfd4', '#e74d4d', '#a5917f', '#cdb9e8', '#ffa58c', '#70a7c2',
                '#ffc656', '#cc916a', '#deb887', '#fa8072', '#fbb4ae', '#b3cde3',
                '#ccebc5', '#decbe4', '#fed9a6', '#ffffcc', '#e5d8bd', '#feeff7',
                '#f2f2f2', '#b3e2cd', '#fdcdac', '#cbd5e8', '#f4cae4', '#e6f5c9',
                '#fff2ae', '#f1e2cc', '#cccccc', '#1f77b4', '#ff7f0e', '#2ca02c',
                '#d62728', '#9467bd', '#8c564b', '#e377c2', '#7f7f7f', '#bcbd22',
                '#17becf', '#7fc97f', '#beaed4', '#fdc086', '#ee8172', '#83d0e2',
                '#4dbdab', '#7788ac',]
        },
        {
            value: 'Lancet',
            label: 'Lancet',
            content: [
                '#7680b3', '#d3d3d3', '#4dae7d', '#925ea1', '#4da8a6', '#d04d64',
                '#8f88b9', '#be4d89', '#e6b1d7', '#f7b7c0', '#f7c1b7', '#fadab6',
                '#d3d3d3', '#ffeda6', '#98fb98', '#6495ed', '#66c2a5', '#fc8d62',
                '#8da0cb', '#e78ac3', '#a6d854', '#ffd92f', '#e5c494', '#b3b3b3',
                '#8dd3c7', '#ffffb3', '#bebada', '#fb8072', '#80b1d3', '#fdb462',
                '#b3de69', '#fccde5', '#d9d9d9', '#bc80bd', '#ccebc5', '#ffed6f',
                '#fbb4ae', '#b3cde3', '#decbe4', '#fed9a6', '#ffffcc', '#e5d8bd',
                '#fddaec', '#f2f2f2', '#b3e2cd', '#fdcdac', '#7680b3', '#d3d3d3',
                '#4dae7d', '#925ea1',]
        },
        {
            value: 'NEJM',
            label: 'NEJM',
            content: [
                '#674cff', '#d3d3d3', '#0c709e', '#ffba35', '#06c9ce', '#f34d4d',
                '#4dae7d', '#7680b3', '#925ea1', '#d04d64', '#eaab68', '#97c2d8',
                '#d3d3d3', '#f382b6', '#20b2aa', '#4169e1', '#66c2a5', '#fc8d62',
                '#8da0cb', '#e78ac3', '#a6d854', '#ffd92f', '#e5c494', '#b3b3b3',
                '#8dd3c7', '#ffffb3', '#bebada', '#fb8072', '#80b1d3', '#fdb462',
                '#b3de69', '#fccde5', '#d9d9d9', '#bc80bd', '#ccebc5', '#ffed6f',
                '#fbb4ae', '#b3cde3', '#decbe4', '#fed9a6', '#ffffcc', '#e5d8bd',
                '#fddaec', '#f2f2f2', '#b3e2cd', '#fdcdac', '#cbd5e8', '#f4cae4',
                '#674cff', '#d3d3d3',]
        },
        {
            value: 'JAMA',
            label: 'JAMA',
            content: [
                '#b41431', '#d3d3d3', '#785228', '#f2a84a', '#ca503c', '#c8e8e8',
                '#b0bab5', '#383f68', '#ced29c', '#f2a84b', '#ef805f', '#00ab96',
                '#d3d3d3', '#138f98', '#00fa9a', '#ba55d3', '#66c2a5', '#fc8d62',
                '#8da0cb', '#e78ac3', '#a6d854', '#ffd92f', '#e5c494', '#b3b3b3',
                '#8dd3c7', '#ffffb3', '#bebada', '#fb8072', '#80b1d3', '#fdb462',
                '#b3de69', '#fccde5', '#d9d9d9', '#bc80bd', '#ccebc5', '#ffed6f',
                '#fbb4ae', '#b3cde3', '#decbe4', '#fed9a6', '#ffffcc', '#e5d8bd',
                '#fddaec', '#f2f2f2', '#b3e2cd', '#fdcdac', '#cbd5e8', '#f4cae4',
                '#b41431', '#d3d3d3',]
        },
        {
            value: 'chinaStyle',
            label: 'chinaStyle',
            content: [
                '#789788', '#deb281', '#627f6d', '#c35c51', '#e6f9b7 ', '#55ccc6',
                '#fd7d3e', '#76bea6', '#95aa89', '#e8d094', '#a84027 ', '#3da896',
                '#4c5c41', '#3f5f54', '#617751', '#7e924b', '#76a1b1 ', '#d9e6f7',
                '#215062', '#eba7a8', '#fcb28b', '#ec756f', '#92a273 ', '#fcbc8e',
                '#c49061', '#336b9c', '#3e819e', '#922f18', '#97c899', '#357449',
                '#91aa70', '#87a895', '#789788', '#deb281', '#627f6d', '#c35c51',
                '#e6f9b7 ', '#55ccc6', '#fd7d3e', '#76bea6', '#95aa89', '#e8d094',
                '#a84027 ', '#3da896', '#4c5c41', '#3f5f54', '#617751', '#7e924b',
                '#76a1b1 ', '#d9e6f7',
            ]
        },
        {
            value: 'JCO',
            label: 'JCO',
            content: [
                '#0073c2',
                '#efc000',
                '#868686',
                '#cd534c',
                '#7aa6dc',
                '#003c67',
                '#8f7700',
                '#3b3b3b',
                '#a73030',
                '#4a6990',
                '#66c2a5',
                '#fc8d62',
                '#8da0cb',
                '#e78ac3',
                '#a6d854',
                '#ffd92f',
                '#e5c494',
                '#b3b3b3',
                '#8dd3c7',
                '#ffffb3',
                '#bebada',
                '#fb8072',
                '#80b1d3',
                '#fdb462',
                '#b3de69',
                '#fccde5',
                '#d9d9d9',
                '#bc80bd',
                '#ccebc5',
                '#ffed6f',
                '#fbb4ae',
                '#0073c2',
                '#efc000',
                '#868686',
                '#cd534c',
                '#7aa6dc',
                '#003c67',
                '#8f7700',
                '#3b3b3b',
                '#a73030',
                '#4a6990',
                '#66c2a5',
                '#fc8d62',
                '#8da0cb',
                '#e78ac3',
                '#a6d854',
                '#ffd92f',
                '#e5c494',
                '#b3b3b3',
                '#8dd3c7',
            ]
        },
        {
            value: 'AAAS',
            label: 'AAAS',
            content: [
                '#3b4992',
                '#ee0000',
                '#008b45',
                '#631879',
                '#008280',
                '#bb0021',
                '#5f559b',
                '#a20056',
                '#808180',
                '#a6cee3',
                '#1f78b4',
                '#b2df8a',
                '#33a02c',
                '#fb9a99',
                '#e31a1c',
                '#fdbf6f',
                '#ff7f00',
                '#cab2d6',
                '#6a3d9a',
                '#ffff99',
                '#b15928',
                '#e41a1c',
                '#377eb8',
                '#4daf4a',
                '#984ea3',
                '#ffff33',
                '#a65628',
                '#f781bf',
                '#999999',
                '#66c2a5',
                '#3b4992',
                '#ee0000',
                '#008b45',
                '#631879',
                '#008280',
                '#bb0021',
                '#5f559b',
                '#a20056',
                '#808180',
                '#a6cee3',
                '#1f78b4',
                '#b2df8a',
                '#33a02c',
                '#fb9a99',
                '#e31a1c',
                '#fdbf6f',
                '#ff7f00',
                '#cab2d6',
                '#6a3d9a',
                '#ffff99',
                '#b15928',
                '#e41a1c',
                '#377eb8',
                '#4daf4a',
                '#984ea3',
                '#ffff33',
                '#a65628',
                '#f781bf',
                '#999999',
                '#66c2a5',
            ]
        },
        {
            value: 'D3JS',
            label: 'D3JS',
            content: [
                '#1f77b4',
                '#ff7f0e',
                '#2ca02c',
                '#d62728',
                '#9467bd',
                '#e377c2',
                '#7f7f7f',
                '#bcbd22',
                '#17becf',
                '#e41a1c',
                '#377eb8',
                '#4daf4a',
                '#984ea3',
                '#ff7f00',
                '#ffff33',
                '#a65628',
                '#f781bf',
                '#999999',
                '#66c2a5',
                '#fc8d62',
                '#8da0cb',
                '#e78ac3',
                '#a6d854',
                '#ffd92f',
                '#e5c494',
                '#b3b3b3',
                '#8dd3c7',
                '#ffffb3',
                '#bebada',
                '#fb8072',
                '#1f77b4',
                '#ff7f0e',
                '#2ca02c',
                '#d62728',
                '#9467bd',
                '#e377c2',
                '#7f7f7f',
                '#bcbd22',
                '#17becf',
                '#e41a1c',
                '#377eb8',
                '#4daf4a',
                '#984ea3',
                '#ff7f00',
                '#ffff33',
                '#a65628',
                '#f781bf',
                '#999999',
                '#66c2a5',
                '#fc8d62',
                '#8da0cb',
                '#e78ac3',
                '#a6d854',
                '#ffd92f',
                '#e5c494',
                '#b3b3b3',
                '#8dd3c7',
                '#ffffb3',
                '#bebada',
                '#fb8072',
                '#1f77b4',
                '#ff7f0e',
                '#2ca02c',
                '#d62728',
                '#9467bd',
                '#e377c2',
                '#7f7f7f',
                '#bcbd22',
                '#17becf',
                '#e41a1c',
                '#377eb8',
                '#4daf4a',
                '#984ea3',
                '#ff7f00',
                '#ffff33',
                '#a65628',
                '#f781bf',
                '#999999',
                '#66c2a5',
                '#fc8d62',
                '#8da0cb',
                '#e78ac3',
                '#a6d854',
                '#ffd92f',
                '#e5c494',
                '#b3b3b3',
                '#8dd3c7',
                '#ffffb3',
                '#bebada',
                '#fb8072',
            ]
        },
        {
            value: 'Futurama',
            label: 'Futurama',
            content: [
                '#ff6f00',
                '#c71000',
                '#008ea0',
                '#8a4198',
                '#5a9599',
                '#ff6348',
                '#84d7e1',
                '#ff95a8',
                '#3d3b25',
                '#ade2d0',
                '#e41a1c',
                '#377eb8',
                '#4daf4a',
                '#984ea3',
                '#ff7f00',
                '#ffff33',
                '#a65628',
                '#f781bf',
                '#999999',
                '#66c2a5',
                '#fc8d62',
                '#8da0cb',
                '#e78ac3',
                '#a6d854',
                '#ffd92f',
                '#e5c494',
                '#b3b3b3',
                '#8dd3c7',
                '#ffffb3',
                '#bebada',
                '#fb8072',
                '#ff6f00',
                '#c71000',
                '#008ea0',
                '#8a4198',
                '#5a9599',
                '#ff6348',
                '#84d7e1',
                '#ff95a8',
                '#3d3b25',
                '#ade2d0',
                '#e41a1c',
                '#377eb8',
                '#4daf4a',
                '#984ea3',
                '#ff7f00',
                '#ffff33',
                '#a65628',
                '#f781bf',
                '#999999',
                '#66c2a5',
                '#fc8d62',
                '#8da0cb',
                '#e78ac3',
                '#a6d854',
                '#ffd92f',
                '#e5c494',
                '#b3b3b3',
                '#8dd3c7',
                '#ffffb3',
                '#bebada',
                '#fb8072',
                '#ff6f00',
                '#c71000',
                '#008ea0',
                '#8a4198',
                '#5a9599',
                '#ff6348',
                '#84d7e1',
                '#ff95a8',
                '#3d3b25',
                '#ade2d0',
                '#e41a1c',
                '#377eb8',
                '#4daf4a',
                '#984ea3',
                '#ff7f00',
                '#ffff33',
                '#a65628',
                '#f781bf',
                '#999999',
                '#66c2a5',
                '#fc8d62',
                '#8da0cb',
                '#e78ac3',
                '#a6d854',
                '#ffd92f',
                '#e5c494',
                '#b3b3b3',
                '#8dd3c7',
                '#ffffb3',
                '#bebada',
                '#fb8072',
            ]
        },
        {
            value: 'IGV',
            label: 'IGV',
            content: [
                '#363ef6',
                '#b3372e',
                '#6a8b4e',
                '#ebe281',
                '#3d576e',
                '#9e5432',
                '#61a0d0',
                '#621b53',
                '#7cd069',
                '#c08597',
                '#763a21',
                '#6e697a',
                '#ac452a',
                '#c17f54',
                '#625391',
                '#d2a162',
                '#291440',
                '#c7d6ad',
                '#471e62',
                '#90204f',
                '#dbbd6a',
                '#4a524d',
                '#b8892e',
                '#95c23c',
                '#999999',
                '#b88930',
                '#95c23c',
                '#63c239',
                '#5ec246',
                '#5cc28c',
                '#3c85bc',
                '#0035f5',
                '#3c5ff5',
                '#f3b942',
                '#f6cb58',
                '#7a1529',
                '#7a1a0f',
                '#80551a',
                '#748828',
                '#488825',
                '#363ef6',
                '#b3372e',
                '#6a8b4e',
                '#ebe281',
                '#3d576e',
                '#9e5432',
                '#61a0d0',
                '#621b53',
                '#7cd069',
                '#c08597',
                '#763a21',
                '#6e697a',
                '#ac452a',
                '#c17f54',
                '#625391',
                '#d2a162',
                '#291440',
                '#c7d6ad',
                '#471e62',
                '#90204f',
                '#dbbd6a',
                '#4a524d',
                '#b8892e',
                '#95c23c',
                '#999999',
                '#b88930',
                '#95c23c',
                '#63c239',
                '#5ec246',
                '#5cc28c',
                '#3c85bc',
                '#0035f5',
                '#3c5ff5',
                '#f3b942',
                '#f6cb58',
                '#7a1529',
                '#7a1a0f',
                '#80551a',
                '#748828',
                '#488825',
            ]
        },
        {
            value: 'Locus Zoom',
            label: 'Locus Zoom',
            content: [
                '#d43f3a',
                '#eea236',
                '#5cb85c',
                '#46b8da',
                '#357ebd',
                '#9632b8',
                '#b8b8b8',
                '#66c2a5',
                '#fc8d62',
                '#8da0cb',
                '#e78ac3',
                '#a6d854',
                '#ffd92f',
                '#e5c494',
                '#b3b3b3',
                '#8dd3c7',
                '#ffffb3',
                '#bebada',
                '#fb8072',
                '#80b1d3',
                '#fdb462',
                '#b3de69',
                '#fccde5',
                '#d9d9d9',
                '#bc80bd',
                '#ccebc5',
                '#ffed6f',
                '#fbb4ae',
                '#b3cde3',
                '#decbe4',
                '#fed9a6',
                '#d43f3a',
                '#eea236',
                '#5cb85c',
                '#46b8da',
                '#357ebd',
                '#9632b8',
                '#b8b8b8',
                '#66c2a5',
                '#fc8d62',
                '#8da0cb',
                '#e78ac3',
                '#a6d854',
                '#ffd92f',
                '#e5c494',
                '#b3b3b3',
                '#8dd3c7',
                '#ffffb3',
                '#bebada',
                '#fb8072',
                '#80b1d3',
                '#fdb462',
                '#b3de69',
                '#fccde5',
                '#d9d9d9',
                '#bc80bd',
                '#ccebc5',
                '#ffed6f',
                '#fbb4ae',
                '#b3cde3',
                '#decbe4',
                '#fed9a6',]
        }
    ],
    fontSize: [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20],
    rotate: [0, 30, 45, 60, 90],
    iconOptions: [
        {
            value: 'icon-fsux_tubiao_weientu',
            label: 'icon-fsux_tubiao_weientu',
        },
        {
            value: 'icon-weientu',
            label: 'icon-weientu',
        },
        {
            value: 'icon-zhexiantu',
            label: 'icon-zhexiantu',
        },
        {
            value: 'icon-tongji2',
            label: 'icon-tongji2',
        },
        {
            value: 'icon-by',
            label: 'icon-by',
        },
        {
            value: 'icon-leidatu',
            label: 'icon-leidatu',
        },
        {
            value: 'icon-sandiantu',
            label: 'icon-sandiantu',
        },
        {
            value: 'icon-xiangxiantu',
            label: 'icon-xiangxiantu',
        },
        {
            value: 'icon-shengwu',
            label: 'icon-shengwu',
        },
        {
            value: 'icon-sandiantu1',
            label: 'icon-sandiantu1',
        },
        {
            value: 'icon--jingpinguanli',
            label: 'icon--jingpinguanli',
        },
        {
            value: 'icon-weishengwu',
            label: 'icon-weishengwu',
        },
        {
            value: 'icon-shangwutubiao-',
            label: 'icon-shangwutubiao-',
        },
        {
            value: 'icon-shangwutubiao-1',
            label: 'icon-shangwutubiao-1',
        },
        {
            value: 'icon-zhuxingtu',
            label: 'icon-zhuxingtu',
        }, {
            value: 'icon-shengwuhuaxue',
            label: 'icon-shengwuhuaxue',
        },
        {
            value: 'icon-cuzhuangzhuxingtu',
            label: 'icon-cuzhuangzhuxingtu',
        },
        {
            value: 'icon-tongji',
            label: 'icon-tongji',
        },
        {
            value: 'icon-fsux_tubiao_leidatu',
            label: 'icon-fsux_tubiao_leidatu',
        },
        {
            value: 'icon-zhuxingtu1',
            label: 'icon-zhuxingtu1',
        },
        {
            value: 'icon-24gl-chartLineUpward',
            label: 'icon-24gl-chartLineUpward',
        }, {
            value: 'icon-24gl-chartScatter',
            label: 'icon-24gl-chartScatter',
        },
        {
            value: 'icon-lujing',
            label: 'icon-lujing',
        },
        {
            value: 'icon-tongji1',
            label: 'icon-tongji1',
        },
        {
            value: 'icon-tongji3',
            label: 'icon-tongji3',
        },
        {
            value: 'icon-pt-vs',
            label: 'icon-pt-vs',
        },
        {
            value: 'icon-shengwu1',
            label: 'icon-shengwu1',
        },
        {
            value: 'icon-xiangxiantu1',
            label: 'icon-xiangxiantu1',
        },
        {
            value: 'icon-tubiao_-',
            label: 'icon-tubiao_-',
        },
        {
            value: 'icon-ic_blur_off_px',
            label: 'icon-ic_blur_off_px',
        },
        {
            value: 'icon-gfshengwuzhichang',
            label: 'icon-gfshengwuzhichang',
        },
        {
            value: 'icon-tongji4',
            label: 'icon-tongji4',
        },
        {
            value: 'icon-VS',
            label: 'icon-VS',
        },
        {
            value: 'icon-duijizhuxingtu',
            label: 'icon-duijizhuxingtu',
        },
        {
            value: 'icon-boxplot',
            label: 'icon-boxplot',
        },
        {
            value: 'icon-32x32-A3x',
            label: 'icon-32x32-A3x',
        },
        {
            value: 'icon-weishengwuweishengwujianyan',
            label: 'icon-weishengwuweishengwujianyan',
        },
        {
            value: 'icon-shengwu2',
            label: 'icon-shengwu2',
        },
        {
            value: 'icon-duijitu_FStackedHistogram',
            label: 'icon-duijitu_FStackedHistogram',
        },
        {
            value: 'icon-keshitubiaohuaban-xianxing_ganranke',
            label: 'icon-keshitubiaohuaban-xianxing_ganranke',
        },
        {
            value: 'icon-beilunyiyuan-beijing_zhongliukefuben',
            label: 'icon-beilunyiyuan-beijing_zhongliukefuben',
        },
        {
            value: 'icon-disease-prevention',
            label: 'icon-disease-prevention',
        }, {
            value: 'icon-xiangxiantu2',
            label: 'icon-xiangxiantu2',
        },
        {
            value: 'icon-shengwu3',
            label: 'icon-shengwu3',
        },
        {
            value: 'icon-shengwu-44',
            label: 'icon-shengwu-44',
        },
        {
            value: 'icon-tongji5',
            label: 'icon-tongji5',
        },
        {
            value: 'icon-percentStackArea',
            label: 'icon-percentStackArea',
        },
        {
            value: 'icon-jizuobiaosandiantu',
            label: 'icon-jizuobiaosandiantu',
        },

        {
            value: 'icon-yibufa',
            label: 'icon-yibufa',
        }, {
            value: 'icon-zhuxingtu2',
            label: 'icon-zhuxingtu2',
        },
        {
            value: 'icon-fi-ts-bacterium',
            label: 'icon-fi-ts-bacterium',
        },
        {
            value: 'icon-tongjichaxun',
            label: 'icon-tongjichaxun',
        },
        {
            value: 'icon-BI_tubiaoICON_zhengfutiaoxingtu_s',
            label: 'icon-BI_tubiaoICON_zhengfutiaoxingtu_s',
        },
        {
            value: 'icon-bingdu',
            label: 'icon-bingdu',
        },
        {
            value: 'icon-zidingyiquyu',
            label: 'icon-zidingyiquyu',
        },

    ],
    selectorList: [
        {
            label: 'icon-xinghao',
            value: 'Asterisk',
        },
        {
            label: 'icon-jiantou_xiangzuo_o',
            value: 'Arrowhead'
        }
    ],
    toggleSidebar: true,
}

const mutations = {
    setMap(state, object) {
        state.echartOption = object
        sessionStorage.setItem('echartOption', JSON.stringify(object))
    },
    setLegend(state, object) {
        // console.log(object, 'object');
        state.legend = object
    },
    resetLegend(state) {
        state.legend = {
            chartTitle: '',
            fontSize: 15,
            color: '#000',
            fontFamily: '宋体'
        }
    },
    changeToggleSidebar(state, value) {
        state.toggleSidebar = value
    }
}

export default {
    namespaced: true,
    state,
    mutations
}
